<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!-- Copyright 1997 The Open Group, All Rights Reserved -->

<title>vw_printw</title>
</head><body bgcolor=white>
<center>
<font size=2>
The Single UNIX &reg; Specification, Version 2<br>
Copyright &copy; 1997 The Open Group

</font></center><hr size=2 noshade>
<h4><a name = "tag_002_001_157">&nbsp;</a>NAME</h4><blockquote>
vw_printw - print formatted output in window
</blockquote><h4><a name = "tag_002_001_158">&nbsp;</a>SYNOPSIS</h4><blockquote>
<pre><code>

#include &lt;<a href="../xsh/stdarg.h.html">stdarg.h</a>&gt;
#include &lt;<a href="curses.h.html">curses.h</a>&gt;

int vw_printw(WINDOW *, char *, va_list <i>varglist</i>);
</code>
</pre>
</blockquote><h4><a name = "tag_002_001_159">&nbsp;</a>DESCRIPTION</h4><blockquote>
The
<i>vw_printw()</i>
function achieves the same effect as
<i><a href="wprintw.html">wprintw()</a></i>
using a variable argument list.  The third argument is a <b>va_list</b>, as
defined in
<i><a href="../xsh/stdarg.h.html">&lt;stdarg.h&gt;</a></i>.
</blockquote><h4><a name = "tag_002_001_160">&nbsp;</a>RETURN VALUE</h4><blockquote>
Upon successful completion,
<i>vw_printw()</i>
returns OK.  Otherwise, it returns ERR.
</blockquote><h4><a name = "tag_002_001_161">&nbsp;</a>ERRORS</h4><blockquote>
No errors are defined.
</blockquote><h4><a name = "tag_002_001_162">&nbsp;</a>APPLICATION USAGE</h4><blockquote>
The
<i>vw_printw()</i>
function is preferred over
<i><a href="vwprintw.html">vwprintw()</a></i>.
The use of the
<i><a href="vwprintw.html">vwprintw()</a></i>
and the
<i>vw_printw()</i>
functions in the same file will not work, due to the requirement to
include <b>varargs.h</b> and <b>stdarg.h</b> which both contain
definitions of va_list.
</blockquote><h4><a name = "tag_002_001_163">&nbsp;</a>SEE ALSO</h4><blockquote>
<i><a href="mvprintw.html">mvprintw()</a></i>,
<i><a href="../xsh/fprintf.html">fprintf()</a></i>
(in the <b>XSH</b> specification),
<i><a href="curses.h.html">&lt;curses.h&gt;</a></i>,
<i><a href="../xsh/stdarg.h.html">&lt;stdarg.h&gt;</a></i>
(in the <b>XSH</b> specification).
</blockquote><hr size=2 noshade>
<center><font size=2>
UNIX &reg; is a registered Trademark of The Open Group.<br>
Copyright &copy; 1997 The Open Group
<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]

</font></center><hr size=2 noshade>
</body></html>
